export const children = [
    {
        key: 'transferPositionType',
        formId: 'transferPositionType'
    },
    {
        label: '被调岗人',
        key: 'applyEmployeeCode',
        formId: 'applyEmployeeCode',
        tag: 'ContactsInput',
        rules: [{ required: true }],
        isPreviewField: true
    },
    {
        key: 'applyEmployeeName',
        formId: 'applyEmployeeName'
    },
    {
        key: 'sex',
        formId: 'sex'
    },
    {
        key: 'currentCompanyCode',
        formId: 'currentCompanyCode'
    },
    {
        key: 'currentCompanyName',
        formId: 'currentCompanyName'
    },
    {
        key: 'currentOrganizationCode',
        formId: 'currentOrganizationCode'
    },
    {
        key: 'currentOrganizationName',
        formId: 'currentOrganizationName'
    },
    {
        key: 'fullOrganizationName',
        formId: 'fullOrganizationName'
    },
    {
        key: 'currentDutyCode',
        formId: 'currentDutyCode'
    },
    {
        key: 'currentDutyName',
        formId: 'currentDutyName'
    },
    {
        key: 'workNature',
        formId: 'workNature'
    },
    {
        key: 'employeeType',
        formId: 'employeeType'
    },
    {
        key: 'entryDate',
        formId: 'entryDate'
    },
    {
        key: 'transferToOrganizationCode',
        formId: 'transferToOrganizationCode'
    },
    {
        key: 'transferToOrganizationName',
        formId: 'transferToOrganizationName'
    },
    {
        key: 'transferToFullOrganizationName',
        formId: 'transferToFullOrganizationName'
    },
    {
        key: 'transferToDutyCode',
        formId: 'transferToDutyCode'
    },
    {
        key: 'transferToDutyName',
        formId: 'transferToDutyName'
    },
    {
        key: 'reason',
        formId: 'reason'
    },
    {
        key: 'additionalRemarkUrl',
        formId: 'additionalRemarkUrl'
    },
    {
        key: 'leaderEmployeeName',
        formId: 'leaderEmployeeName'
    },
    {
        key: 'partTimeDuty',
        formId: 'partTimeDuty'
    },
    {
        key: 'transferRankValue',
        formId: 'transferRankValue'
    },
    {
        key: 'transferToCompanyCode',
        formId: 'transferToCompanyCode'
    },
    {
        key: 'transferToCompanyName',
        formId: 'transferToCompanyName'
    }
];

export const excludeItems = [
    'applyEmployeeCode',
    'reason',
    'transferToDutyCode',
    'transferToOrganizationCode',
    'additionalRemarkUrl'
];

// 变更配置需要在表单设计中重新拖入套件
export const transferPositionApply = {
    label: '调岗申请',
    cmpType: 'custom',
    formId: '',
    key: 'TransferPositionApply',
    tag: 'TransferPositionApply',
    tagIcon: 'iconprocess_common_supplementcard_icon',
    formStyle: true,
    children,
    proCondition: true,
    isUsed: false
};
